import request from "@/utils/request";
import { param } from "@/utils";

export const getList=(query,data)=>{
    return request({
        url:`/finance/slipApply/transfer/page?${param(query)}`,
        method:'post',
        data
    })
}

/**
 * 删除
 */
export const del=(applyId)=>{
    return request({
        url:`/finance/slipApply/remove/${applyId}`,
    })
}

/**
 * 添加
 */
export const add=(data)=>{
    return request({
        url:'/finance/slipApply/add/transfer',
        method:'post',
        data
    })
}
/**
 * 支付
 */
export const pay=(data)=>{
    return request({
        url:'/finance/receiptRecord/transferPay',
        method:'post',
        data
    })
}